body,
button,
input,
select,
textarea {
	font-size: 12px;
	font-family: Microsoft YaHei, '宋体', Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
}

body {
	background: rgb(239, 243, 245);
}

.ui-jqgrid .ui-jqgrid-title {
	font-size: 12px;
}

/*修改grid标题的字体大小*/

.ui-jqgrid-sortable {
	font-size: 12px;
}

/*修改列名的字体大小*/

.ui-jqgrid tr.jqgrow td {
	font-size: 12px;
	font-family: Microsoft YaHei, '宋体', Tahoma, Helvetica, Arial, "\5b8b\4f53", sans-serif;
}

/*修改表格内容字体*/

.ui-pager-control tr td {
	font-size: 12px;
}

input,
button,
select,
textarea {
	outline: none;
}

textarea {
	resize: none;
}

input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px white inset;
}

/*地图样式*/
#country,
#province {
	position: relative;
	height: 550px;
	top: 0;
	z-index: 1;
	background: #FFF;
}

#province {
	top: -550px;
	z-index: 0;
}

#countryLeft,
#countryRight,
#provinceLeft,
#provinceRight {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
}

#countryRight,
#provinceRight {
	left: auto;
	right: 0;
}

.showCountryBtn {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
}

.panelMap {
	height: 550px;
	display: none;
}

.showCountryBtn {
	cursor: pointer;
}

/* select中option过长会影响select布局*/
.form-inline select.form-control {
	width: 100%;
}


.has-error.form-control {
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

.open>.dropdown-toggle.btn-default.redBorder,
.btn-default.redBorder,
.form-control.error,
.has-error.form-control {
	border-color: #a94442;
}

.help-block .error em {
	color: red;
}

.margin-top-10 {
	margin-top: 10px;
}

.padding-top-5 {
	padding-top: 5px;
	text-align: right;
}

@media (max-width: 767px) {
	.sm-right-margin {
		float: right;
		margin: 10px 15px 0 0 !important;
	}
}


.bootbox.modal .modal-dialog {
	margin-top: 160px;
}

@media (min-width: 768px) and (max-width: 905px) {
	#export_excel.export_excel {
		margin-top: 80px;
	}
}

@media (min-width: 906px) and (max-width: 1199px) {
	#export_excel.export_excel {
		margin-top: 24px;
	}
}

.Wdate.form-control {
	background-color: #fff;
	cursor: pointer;
}

/*刷新按钮*/
span.pull-right[title=刷新] {
	margin-top: -5px;
}

/*对话框样式*/
.box.box-primary {
	border-top-color: #3c8dbc;
}

.box {
	position: relative;
	border-radius: 3px;
	background: #ffffff;
	border-top: 3px solid #d2d6de;
	border-top-color: rgb(210, 214, 222);
	margin-bottom: 20px;
	width: 100%;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.box.box-primary {
	border-top-color: #3c8dbc;
}

.box {
	position: relative;
	border-radius: 3px;
	background: #ffffff;
	border-top: 3px solid #d2d6de;
	border-top-color: rgb(210, 214, 222);
	margin-bottom: 20px;
	width: 100%;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.direct-chat-messages,
.direct-chat-contacts {
	-webkit-transition: -webkit-transform .5s ease-in-out;
	-moz-transition: -moz-transform .5s ease-in-out;
	-o-transition: -o-transform .5s ease-in-out;
	transition: transform .5s ease-in-out;
}

.direct-chat-messages {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
	padding: 10px;
	height: 250px;
	overflow: auto;
}

.direct-chat-msg {
	margin-bottom: 10px;
}

.direct-chat-msg,
.direct-chat-text {
	display: block;
}

.direct-chat-msg:before,
.direct-chat-msg:after {
	content: " ";
	display: table;
}

.direct-chat-info {
	display: block;
	margin-bottom: 2px;
	font-size: 12px;
}

.direct-chat-name {
	font-weight: 600;
}

.direct-chat-timestamp {
	color: #999;
}

.right .direct-chat-img {
	float: right;
}

.direct-chat-img {
	border-radius: 50%;
	float: left;
	width: 40px;
	height: 40px;
}

.direct-chat-status {
	float: left;
	line-height: 34px;
}

.direct-chat-status-ok {
	color: #00CC00;
}

.direct-chat-primary .right>.direct-chat-text {
	background: #3c8dbc;
	border-color: #3c8dbc;
	background: #c9d8f8;
	border-color: #c9d8f8;
	color: #3273fa;
	margin-left: 50px;
}

.right .direct-chat-text {
	margin-right: 50px;
	margin-left: 50px;
}

.direct-chat-text {
	border-radius: 5px;
	position: relative;
	padding: 5px 10px;
	background: #d2d6de;
	border: 1px solid #d2d6de;
	margin: 5px 0 0 50px;
	color: #444;
}

.direct-chat-msg,
.direct-chat-text {
	display: block;
}

.direct-chat-primary .right>.direct-chat-text:after,
.direct-chat-primary .right>.direct-chat-text:before {
	border-left-color: #3c8dbc;
}

.right .direct-chat-text:after,
.right .direct-chat-text:before {
	right: auto;
	left: 100%;
	border-right-color: transparent;
	border-left-color: #d2d6de;
}

.direct-chat-text:before {
	border-width: 6px;
	margin-top: -6px;
}

.direct-chat-text:after,
.direct-chat-text:before {
	position: absolute;
	right: 100%;
	top: 15px;
	border: solid transparent;
	border-right-color: #d2d6de;
	content: ' ';
	height: 0;
	width: 0;
	pointer-events: none;
}

.direct-chat-primary .right>.direct-chat-text:after,
.direct-chat-primary .right>.direct-chat-text:before {
	border-left-color: #c9d8f8;
}

.right .direct-chat-text:after,
.right .direct-chat-text:before {
	right: auto;
	left: 100%;
	border-right-color: transparent;
	border-left-color: #d2d6de;
}

.direct-chat-text:after {
	border-width: 5px;
	margin-top: -5px;
}

.direct-chat-text:after,
.direct-chat-text:before {
	position: absolute;
	right: 100%;
	top: 15px;
	border: solid transparent;
	border-right-color: #d2d6de;
	content: ' ';
	height: 0;
	width: 0;
	pointer-events: none;
}

.direct-chat-msg:after {
	clear: both;
}

.direct-chat-msg:before,
.direct-chat-msg:after {
	content: " ";
	display: table;
}

.direct-chat-msg:after {
	clear: both;
}

.direct-chat-msg:before,
.direct-chat-msg:after {
	content: " ";
	display: table;
}

.header-right {
	position: absolute;
	bottom: 10px;
	right: 0px;
	top: 0px;
}

.page-header {
	position: relative;
}

.header-search {
	border: 1px solid #e8eaf3;
	background: #e8eaf3;
}



/* 2020114 UI修改 */
.breadcrumb {
	padding: 16px 19px;
	margin-bottom: 20px;
	list-style: none;
	background-color: #FFF;
	border-radius: 0px;
	font-size: 13px;
	box-shadow: 0 0 20px #aaa;
}

.breadcrumb>.active {
	color: #3a7fff;
}

.breadcrumb span a {
	color: #333;
}

.btn-refresh {
	width: 46px;
	text-align: center;
	border-radius: 14px;
	background: #d5e5ff;
	padding: 6px 0px;
	cursor: pointer;
}

.btn-refresh:hover {
	background: rgb(200, 219, 252);
}

.container-fluid {
	padding: 20px;

	margin-right: auto;
	margin-left: auto;
	background: #eff3f5;
	margin-top: 50px
}

.container-fluid-w {
	background: #fff;
}

.ui-jqgrid {
	position: relative;
	border: none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.ui-jqgrid-htable thead th {
	background: #f3f5f7;
}

.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
	border: none;
	border-bottom: 1px solid #ddd;
}

.table-bordered {
	border: 1px solid #ddd;
	border-right: none;
}

.ui-jqgrid .ui-jqgrid-pager,
.ui-jqgrid .ui-jqgrid-toppager {
	border-left-width: 0px;
	border-top: none;
	/* padding: 4px 0px; */
	position: relative;
	/* height: auto; */
	white-space: nowrap;
	overflow: hidden;
}

.table>tbody>tr.active>td,
.table>tbody>tr.active>th,
.table>tbody>tr>td.active,
.table>tbody>tr>th.active,
.table>tfoot>tr.active>td,
.table>tfoot>tr.active>th,
.table>tfoot>tr>td.active,
.table>tfoot>tr>th.active,
.table>thead>tr.active>td,
.table>thead>tr.active>th,
.table>thead>tr>td.active,
.table>thead>tr>th.active {
	background-color: #fff;
}

.table>tbody>tr:nth-child(2n)>td.active {
	background: #fafbfc;
}

.ui-jqgrid-btable thead th.ui-th-ltr {
	border-left: 0px none !important;
	background: #f3f5f7;
}

.ui-jqgrid-btable tbody tr.ui-row-ltr:nth-child(n) {
	background: #ffffff;
}

.ui-jqgrid-btable tbody tr.ui-row-ltr:nth-child(2n) {
	background: #fafbfc;
}

.page-header {
	margin-top: 0px;
	background: #FFF;
	border-bottom: none;
}

.page-header h3 {
	margin-top: 0px;
}

.clear {
	clear: both;
}

.container-fluid-main {
	background: #FFF;
	padding: 15px;
	border-radius: 5px;
}

.label-primary {
    background-color: #1ac9ae;
}

.label-success {
    background-color: #6098fe;
}

/* bootstrap primary按钮样式 */

.btn {
	border-radius: 16px;
}

.btn-link {
	color: #3a7fff;
}

.bootstrap-select .btn {
	border-radius: 4px;
}

.btn-primary {
	color: #fff;
	background-color: #3a7fff;
	border-color: #3a7fff;
}

/* .btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
} */
.btn-primary:focus,
.btn-primary.focus {
	color: #fff;
	background-color: #3a7fff;
	border-color: #3a7fff;
}

.btn-primary:hover {
	color: #fff;
	background-color: #3a7fff;
	border-color: #3a7fff;
}

.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
	color: #fff;
	background-color: #3a7fff;
	border-color: #3a7fff;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open>.dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open>.dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open>.dropdown-toggle.btn-primary.focus {
	color: #fff;
	background-color: #204d74;
	border-color: #122b40;
}

.btn-primary:active,
.btn-primary.active,
.open>.dropdown-toggle.btn-primary {
	background-image: none;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
	background-color: #337ab7;
	border-color: #2e6da4;
}

.btn-primary .badge {
	color: #337ab7;
	background-color: #fff;
}


.form-control {
	background: #eff1f7;
	border: none;
	outline: none;
}

.Wdate.form-control {
	background-color: #eff1f7;
	cursor: pointer;
}

.bootstrap-select .btn-default {
	color: #333;
	background-color: #eff1f7;
	border-color: #eff1f7;
}

.bootstrap-select .btn-default:focus {
	color: #333;
	background-color: #eff1f7;
	border-color: #eff1f7;
}

.bootstrap-select.open .btn-default {
	color: #333;
	background-color: #eff1f7;
	border-color: #eff1f7;
}

.bootstrap-select.open .btn-default:hover {
	color: #333;
	background-color: #eff1f7;
	border-color: #eff1f7;
}

.modal-header {
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
	background: linear-gradient(to right, #3247c7, #3273fa);
	color: #FFF;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
}

.modal-header .close {
	color: #FFF;
	opacity: 1;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-success {
	color: #fff;
	background: #3a7fff;
}

.text-c {
	text-align: center;
}

.btn-s {
	border-radius: 4px;
}

.text-warning {
	color: #ffa013;
}

.btn-file,
.btn-file:hover,
.btn-file:active,
.btn-file:focus{
	color: #3a7fff;
	background: #d6e3fe;
	border: none;
	outline: none;
	border-radius: 4px;
}

.modal .progress {
	height: 12px;
}

.modal .progress .progress-bar {
	line-height: 12px;
}

.panel-default-sample {
	border: none;
}

.panel-default-sample>.panel-heading {
	color: #333;
	background-color: #eff1f7;
	border: #none;
}

.br {
	margin: 10px 0px;
}

.dpinput:checked {
    background-color: #3a7fff;
    border: solid 1px #3a7fff;
    text-align: center;
    background-clip: padding-box;
}

.dpinput {
    width: 16px;
    height: 16px;
    background-color: #ffffff;
    border: solid 1px #dddddd;
    font-size: 10px;
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    vertical-align: top;
    cursor: default;
    -webkit-appearance: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-transition: background-color ease 0.1s;
    transition: background-color ease 0.1s;
    outline: none !important;
}

.dpinput:checked::after {
    content: '';
    width: 7px;
    height: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -4px;
    margin-top: -4px;
    background: transparent;
    border: 1px solid #ffffff;
    border-top: none;
    border-right: none;
    z-index: 2;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
